package com.jevons.geo_edit.model;

import com.mapbox.geojson.Feature;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * Copyright 2020 JxGIS
 *
 * @file GisProjectData
 * @auth linaisheng
 * Created on 2023/9/21.
 * Description：
 */
public class GisProjectData {

    private String versionId;
    private String historyId;

    public List<GisLayer> layers;
    public Map<String, LinkedHashMap<String, Feature>> layerToFeatureMap;

    public GisProjectData(
            List<GisLayer> layers,
            Map<String, LinkedHashMap<String, Feature>> layerToFeatureMap) {
        this.layers = layers;
        this.layerToFeatureMap = layerToFeatureMap;
    }



    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setHistoryId(String historyId) {
        this.historyId = historyId;
    }

    public String getHistoryId() {
        return historyId;
    }

}